package src.com.doit.Demo04;

public class Phnoe {
    private String num;

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public Phnoe() {

    }

    public Phnoe(String num) {

        this.num = num;
    }

    public void call()
    {
        System.out.println("打电话给"+num);
    }
    public void send()
    {
        System.out.println("发短信给"+num);
    }
    public void show()
    {
        System.out.println("显示手机号:"+num);
    }
}
